package com.bush.mall.coupon.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.bush.mall.common.entity.Result;;
import com.bush.mall.coupon.entity.HomeSubjectSpuEntity;

/**
 * 专题商品
 * @author RUN
 * @date 2022-11-29
 */
public interface HomeSubjectSpuService extends IService<HomeSubjectSpuEntity> {

    public static final String BEAN_ID = "mall.homeSubjectSpuService";

    /**
     * 分页查询专题商品列表
     * @author RUN
     * @date 2022-11-29
     */
     Result queryForPage(Integer current,Integer size);


    /**
     * 创建专题商品表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result saveHomeSubjectSpu(HomeSubjectSpuEntity homeSubjectSpu);


    /**
     * 修改专题商品表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result updateHomeSubjectSpu(HomeSubjectSpuEntity homeSubjectSpu);

    /**
     * 删除指定ID的专题商品
     * @author RUN
     * @date 2022-11-29
     */
     Result deleteHomeSubjectSpu(Long id);

}

